using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace LHS.Core.TableInfo
{
    public class InfoInvoices
    {
        public const string INVISN = "invISN";
        public const string CLRISN = "clrISN";
        public const string INVEXAMINATIONPAYMENT = "invExaminationPayment";
        public const string INVMEDICINEPAYMENT = "invMedicinePayment";
        public const string INVMEDICINESKILLPAYMENT = "invMedicineSkillPayment";
        public const string INVSURGERYPAYMENT = "invSurgeryPayment";
        public const string INVTOTALPAYMENT = "invTotalPayment";
        public const string INVPAYMENTSTATUS = "invPaymentStatus";

        public const string TABLENAME = "Invoices";

        public static DataTable GetStructure()
        {
            DataTable dt = new DataTable();
            dt.Columns.Add(INVISN, typeof(int));
            dt.Columns.Add(CLRISN, typeof(int));
            dt.Columns.Add(INVEXAMINATIONPAYMENT, typeof(decimal));
            dt.Columns.Add(INVMEDICINEPAYMENT, typeof(decimal));
            dt.Columns.Add(INVMEDICINESKILLPAYMENT, typeof(decimal));
            dt.Columns.Add(INVSURGERYPAYMENT, typeof(decimal));
            dt.Columns.Add(INVTOTALPAYMENT, typeof(decimal));
            dt.Columns.Add(INVPAYMENTSTATUS, typeof(string));
            
            dt.TableName = TABLENAME;
            return dt;
        }

    }
}
